package elven.d.web.service.logs;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import elven.d.web.dao.logs.LogsMapper;
import elven.d.web.model.entity.logs.Logs;

@Service
public class LogsService {

	@Autowired
	private LogsMapper logsMapper;
	
	/**
	 * 保存日志
	 * @param log 日志信息
	 * @throws Exception 
	 */
	public void saveIt(String log){
		logsMapper.insert(new Logs(log));
	}
	
}